package com.code.day19;

import java.io.File;
import java.io.IOException;

public class Demo16FileCreate {
    public static void main(String[] args) throws IOException {
        File file = new File("D:\\java-code\\java-full-stack\\01-java-base\\src\\com\\code\\day19\\img\\create.txt");
        System.out.println(file.createNewFile());

        File file1 = new File("D:\\java-code\\java-full-stack\\01-java-base\\src\\com\\code\\day19\\img\\create1\\wenjian");
        System.out.println(file1.mkdirs());;
    }
}
